package com.eonmind.vip.contract.api;


import com.eonmind.common.contract.constants.ServiceConstant;
import com.eonmind.common.contract.data.response.ResponseEntity;
import com.eonmind.common.provider.dto.VipDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * vip对User暴露接口
 * @restApi
 */
@FeignClient(name = ServiceConstant.EON_MIND_VIP_SERVICE, contextId = "VIP-TO-USER")
public interface VipToUserFeignService {


    /**
     * 初始化用户福利
     * @restApi
     */
    @PostMapping("/vip-api/toUser/initUserWelfare")
    ResponseEntity<Boolean> initUserWelfare(@RequestBody Long userId);

}
